﻿@model IEnumerable<OTE.Web.Infrastructure.TabMenu.MenuModel>
<ul id="menuTab" class="clearfix">
    @foreach (var item in Model)
    {
        if (item.IsSelected && item.MenuText != "meta data" && item.MenuText != "+" && item.MenuText != "Publish")
        {
            item.MenuType = "special-tab select";
        }
        var cssClass = item.IsSelected ? "current" : String.Empty;
        <li class='@cssClass' name='@item.MenuType' id='@item.MenuText'>
            @Html.ActionLink(item.MenuText, item.MenuAction, item.MenuController, item.MenuRouteValues != null ? item.MenuRouteValues.GetObject() : null, null)
        </li>
    }
</ul>